package br.com.mtech.ctrlliberty.web.mb;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.model.SelectItem;

@ManagedBean(name="alertaI")
@RequestScoped
public class AlertaInternetBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3915611691398079807L;

private List<SelectItem> listaTelefone;
	
	@PostConstruct
	public void inicializarPagina() {
		
		listaTelefone = new ArrayList<SelectItem>();
		SelectItem tel = new SelectItem(1, "denis");
		SelectItem tel2 = new SelectItem(2, "Tiago");
		listaTelefone.add(tel);
		listaTelefone.add(tel2);
		
	}

	public List<SelectItem> getListaTelefone() {
		return listaTelefone;
	}

	public void setListaTelefone(List<SelectItem> listaTelefone) {
		this.listaTelefone = listaTelefone;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
}
